-- GENERATED SPELL FOR [Razorfen Battleguard] --


function spell0_7873(pUnit, Event) --@Slam,n/a--
pUnit:FullCastSpellOnTarget(11430,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7873', 2298, 1)
end

function Sorts_7873(pUnit, Event)
local choix_sorts_7873 = math.random(0, 0)
if choix_sorts_7873 == 0 then
pUnit:RegisterEvent('spell0_7873', 1, 1)
end
end

function mob7873_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7873', math.random(1500, 3000), 1)
end

function mob7873_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7873_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7873_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7873, 1, 'mob7873_Action')
RegisterUnitEvent(7873, 2, 'mob7873_Leave')
RegisterUnitEvent(7873, 3, 'mob7873_Kill')
RegisterUnitEvent(7873, 4, 'mob7873_Die')
